<?php /* Smarty version Smarty-3.0.6, created on 2018-04-13 23:45:51
         compiled from "E:/xiangmu/phpstudy/WWW/chenjin/dingwei/temp/default\login.htm" */ ?>
<?php /*%%SmartyHeaderCode:71595ad0d0af252410-51540287%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '016f486011dc6dbb93156624e1763c89e37645d9' => 
    array (
      0 => 'E:/xiangmu/phpstudy/WWW/chenjin/dingwei/temp/default\\login.htm',
      1 => 1523596825,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '71595ad0d0af252410-51540287',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="/temp/default/js/jquery-3.1.0.min.js"></script>
    <script src="/temp/default/js/flexible.debug.js"></script>
    <script src="/temp/default/js/flexible_css.debug.js"></script>
    <link rel="stylesheet" href="/temp/default/css/login.css">
    <title>登录</title>
</head>
<body>
    <div class="container">
        <form action="index.php" method="post" enctype="multipart/form-data">
            <input type="text" name="username" required="required" placeholder="用户名/手机号" value="" />
            <input type="password" name="password"  required="required" placeholder="密码" value="" />
            <input type="hidden" name="action" value="login" />
            <input type="submit" value="确认登录"  onclick="login()"/>
        </form>
    </div>
</body>
<script>
//    var login = function(){
//        var username = $('#username').val();
//        var password = $('#password').val();
//        if(!username && !password){
//            alert('请完善后再登录');
//        }
//        if((/^[1][3,4,5,7,8][0-9]<?php echo 9;?>
$/).test(mobile)){
//            alert('手机号格式不正确');
//        }
//        $.ajax({
//            url: 'https://dingwei.famishare.me/login.php',
//            method: 'POST',
//            data: {
//                username: username,
//                password: password,
//                action: 'login'
//            },
//            // contentType: 'application/json',
//            success: function(res){
//                location.href = 'index.html';
//            }
//        });
//        location.href = 'index.html';
    }

</script>
</html>